package Test;

public class TestPerson {

	public static void main(String[] args) {
		
		ping_PongAthlete p = new ping_PongAthlete();
		p.drill();
		p.student();
		p.say();

	}

}

abstract class Person{
	private String name;
	private int age;
	
	public void sleep(){
		
	}
	
	public void eat(){
		
	}
	
	public abstract void say();
}


abstract class athlete extends Person{
	public abstract void drill();
}

abstract class coach extends Person{
	public abstract void teach();
}

interface English{
	void student();
}

class ping_PongAthlete extends athlete implements English{

	@Override
	public void drill() {
		System.out.println("乒乓球运动员锻炼");
		
	}

	@Override
	public void say() {
		System.out.println("乒乓球运动员说话");
		
	}

	@Override
	public void student() {
		
		System.out.println("乒乓球运动员学英语");
	}
	
}

class ping_PongCoach extends coach implements English{

	@Override
	public void student() {

		
	}

	@Override
	public void teach() {

		
	}

	@Override
	public void say() {

		
	}
	
}

class basketballAthlete extends athlete{

	@Override
	public void drill() {

		
	}

	@Override
	public void say() {

		
	}
	
}

class basketballCoach extends coach{

	@Override
	public void teach() {

		
	}

	@Override
	public void say() {

		
	}
	
}







